package com.bl.student.service.vo.art;

import com.bl.student.common.enums.ArtExamType;
import com.bl.student.common.enums.OnlineStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

/**
 * Created by liangweikang on 18/2/7.
 */
@Data
@ApiModel(value="修改艺考信息", description="修改艺考信息body", discriminator = "修改艺考信息body")
public class ArtExamAddVo {

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "简介")
    private String description;

    @ApiModelProperty(value = "权重")
    private int weight;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "类型")
    private ArtExamType type;


    @ApiModelProperty(value = "详情页id")
    @Column(name = "detail_id")
    private String detailId;

    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "状态")
    private OnlineStatus status;

    @ApiModelProperty(value = "标签")
    private String tags;

}
